<template>
  <div>组件1</div>
  <p>鼠标的坐标点的位置为 x-{{ x }}, y-{{ y }}</p>
</template>

<script setup>
// 按需导入
import { useMouse } from "@/views/zuheshihanshu/mouse.js";

const { x, y } = useMouse();
</script>
<style scoped>
</style>